package com.tianquan.log;/**
 * @author starsea
 * @date 2024-10-19 下午12:57
 */

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @BelongsProject: uploaddemo
 * @BelongsPackage: com.tianquan.log
 * @Author: tianquan
 * @CreateTime: 2024-10-19  12:57
 * @Description: TODO
 * @Version: 1.0
 */
@Configuration
public class LogConfig {

    @Value("${log.path}")
    String logPath;

    @Bean
    public LocalLogService getLocalLogService() {
        return new LocalLogService(logPath);
    }

}
